package com.quectel.core.module.room.dto;

import com.quectel.core.module.village.dto.VillageRoomDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author ryan
 * @email ryan.ran@quectel.com
 * @date 2023/11/10 11:43
 */
@Data
@Schema
public class VillageRoomSuspicionOrderDto implements Serializable {

    /**
    * 主键id
    */
    @Schema(description = "主键id")
    private Long id;

    /**
    * 租户 id
    */
    @Schema(description = "租户 id")
    private Long tenantId;

    /**
    * 小区 id
    */
    @Schema(description = "小区 id")
    private Long villageId;

    /**
     * 楼栋id
     */
    @Schema(description = "楼栋id")
    private Long buildingId;

    /**
     * 楼层id
     */
    @Schema(description = "楼层id")
    private Long floorId;

    /**
    * 房间id
    */
    @Schema(description = "房间id")
    private Long roomId;

    /**
     * 来源类型
     */
    @Schema(description = "来源类型")
    private Byte resourceType;

    /**
    * 处理状态 0 未处理 1 已处理
    */
    @Schema(description = "处理状态 0 未处理 1 已处理")
    private Byte handleStatus;

    /**
    * 处理结果 0 撤销 1 确认
    */
    @Schema(description = "处理结果 0 撤销 1 确认")
    private Byte handleResult;


    /**
     * 处理备注
     */
    @Schema(description = "处理备注")
    private String handleRemark;

    /**
     * 人员信息快照
     */
    @Schema(description = "人员信息快照")
    private String personSnapshot;

    /**
     * 居住人数
     */
    @Schema(description = "居住人数")
    private Integer peopleCount;

    /**
    * 创建时间
    */
    @Schema(description = "创建时间")
    private Date createTime;

    /**
    * 更新时间
    */
    @Schema(description = "更新时间")
    private Date updateTime;

    /**
     * 处理时间
     */
    @Schema(description = "处理时间")
    private Date handleTime;

    /************非数据库字段 start ************/
    private VillageRoomDto villageRoom;
    /************非数据库字段 end **************/
}
